package cre.sample.test.ds.order;

/**
 * Created by CreGu on 2016/5/25.
 */
public class BubbleOrder {

    public static void main(String[] args) {
        int size = 10;
        ArrayBubble array = new ArrayBubble(size);

        array.display();
        System.out.println("sort");
        long t1 = System.currentTimeMillis();
        array.bubbleSort();
        long t2 = System.currentTimeMillis();
        System.out.println("耗时：" + (t2 - t1));
        array.display();
    }
}
